#include "GenNames.h"

std::string GenFolderName(const size_t i_edges,
                          const size_t i_filling,
                          const size_t i_max)
  {
  std::string folder_name;
  AddValToString(folder_name, i_edges);
  if(i_filling != 0)
    {    
    folder_name += '_';
    AddValToString(folder_name, i_filling);
    folder_name += 'p';
    }
  if(i_max != 0)
    {
    folder_name += "_max";
    AddValToString(folder_name, i_max);
    }

  return folder_name;
  }

std::string GenFileName(const size_t i_file_number,
                        const std::string& i_file_name)
  {
  std::string file_name = i_file_name + '_';
  AddValToString(file_name, i_file_number);
  file_name += ".dat";

  return file_name;
  }

std::string GenFileName(const size_t i_file_number)
  {
  std::string filename = "Graph";

  return GenFileName(i_file_number, filename);
  }